 import Mock from 'mockjs';

const MainInfos = [];

for (let i = 0; i < 25; i++) {
  MainInfos.push(Mock.mock({
		cardPkId:Mock.Random.string(5),
		cardType:Mock.Random.ctitle(1,0) , 
		backgroundPicUrl:Mock.Random.ctitle(1,0) , 
		prerogative:Mock.Random.ctitle(1,2) , 
		autoActivate:Mock.Random.character('lower') , 
		wxActivate:Mock.Random.character('lower') , 
		supplyBonus:Mock.Random.character('lower') , 
		bonusUrl:Mock.Random.ctitle(1,8) , 
		supplyBalance:Mock.Random.character('lower') , 
		balanceUrl:Mock.Random.ctitle(1,8) , 
		bonusCleared:Mock.Random.ctitle(1,8) , 
		bonusRules:Mock.Random.ctitle(1,8) , 
		balanceRules:Mock.Random.ctitle(1,8) , 
		activateUrl:Mock.Random.ctitle(1,8) , 
		activateAppBrandUserName:Mock.Random.ctitle(1,8) , 
		activateAppBrandPass:Mock.Random.ctitle(1,8) , 
		'discount|0-2': 1 , 
		cardId:Mock.Random.ctitle(1,0) , 
		createTime:Mock.Random.date('yyyy-MM-dd') , 
		'leastCost|0-10': 1 , 
		'reduceCost|0-10': 1
  }));
}

export { MainInfos };
